﻿@using RazorEngine.Templating
@using codeGen.Model;
@*@inherits TemplateBase<ClassMetadata>;  *@

using Lord.Platform.Domain.Share;
using Lord.Platform.Domain.Share.DTO.BY;
using Lord.Platform.Domain.Share.Form;

namespace Test
{
    /// <summary>
    /// @Model.ClassComment Service Interface
    /// </summary>
    public interface @("I" + Model.ClassName+"Service")
    {
        @{
            @:/// <summary>
            @:/// @Model.ClassComment 删除
            @:/// </summary>
            @:Task<RspResult<bool>> Del(List<long> ids); 
            @:/// <summary>
            @:/// @Model.ClassComment 获取model
            @:/// </summary>
            @:Task<RspResult<@("View"+Model.ClassName)>> GetModel(long id);
            @:/// <summary>
            @:/// @Model.ClassComment 获取分页信息
            @:/// </summary>
            @:Task<RspResult<DataPager<@("View"+Model.ClassName)>>> GetPage();
            @:/// <summary>
            @:/// @Model.ClassComment 添加/编辑
            @:/// </summary>
            @:Task<RspResult<bool>> Edit(@("View"+Model.ClassName) model);
        }
    }
}
